package com.action;

import com.alibaba.dubbo.config.annotation.Reference;
import com.service.IJisuanService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class ClientAction {

    @Reference
    private IJisuanService jisuanService;

    @RequestMapping("/test")
    public String test()
    {
       return jisuanService.add(2,3)+"";
    }
}
